package fr.cephb.berkeley.baseapi.bindings;

import com.sleepycat.bind.tuple.TupleInput;
import com.sleepycat.bind.tuple.TupleOutput;

public class Int64Binding
	extends AbstractTupleBinding<Long>
	{
	@Override
	public Long entryToObject(TupleInput input)
		{
		return readInt64(input);
		}

	@Override
	public void objectToEntry(Long i, TupleOutput output)
		{
		writeInt64(i, output);
		}
	}
